package com.aaa.docter.Fegin;

import com.aaa.docter.vo.MedicinesVo;
import com.aaa.entity.Medicines;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "stock/api/AAA")
public interface MedicinaFeign {


    //    药品列表
    @PostMapping("semed/{currentPage}/{pageSize}")
    public Result<IPage<Medicines>> semd(
            @PathVariable Integer currentPage,
            @PathVariable Integer pageSize,
            @RequestBody MedicinesVo medicinesVo
    );
}
